<%@ page language="java" contentType="text/html;charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="/WEB-INF/views/include/head_index.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<div class="login">
		<div class="container">
			<h3 class="animated wow zoomIn" data-wow-delay=".5s">后台管理登陆</h3>
			<div class="login-form-grids animated wow slideInUp" data-wow-delay=".5s">
				<form action="${ctxBase}/login" method="post" id="submitFrom">
					<input type="text" placeholder="账 号" required="" name="loginName" >
					<input type="password" placeholder="密 码" required="" name="password" ><br/>
					<input type="checkbox" name="memberMe" value="yes">记住我<br/><br/>
					<img alt="验证码" src="${pageContext.request.contextPath}/validateCode" onclick="flushValidateCode(this)">
					<input  placeholder="验 证 码 " required="" name="valicode" style="width:80%;float:right" class="form-control"><br/>
					<input type="submit" value="登陆" id="submit">
					<font color="red" >${message}</font>
					<div class="forgot">
						<a href="#" class="right">忘记密码?</a>
					</div>
			</div>
			
			<!-- <h4 class="animated wow slideInUp" data-wow-delay=".5s">新用户?</h4>
			<p class="animated wow slideInUp" data-wow-delay=".5s"><a href="register.html">点击注册</a> (或) <a href="index.html">返回主页<span class="glyphicon glyphicon-menu-right" aria-hidden="true"></span></a></p> -->
		</div>
	</div>
		
</body>
<script type="text/javascript">
function flushValidateCode(e){
	e.src='${pageContext.request.contextPath}/validateCode?'+new Date().getTime();
}

</script>
</html>

